package com.example.xpvideo.entity;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 地区表(LsDevRegion)实体类
 *
 * @author 杨丽辉
 * @since 2021-08-19 22:58:35
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsDevRegion implements Serializable {
    private static final long serialVersionUID = -23202128266981365L;
        /**
    *主键
    * 地区编号
    * isnull 1
    */
        private Integer id;

    /**
    * 父级地区编码
    * isnull 0
    */            private Integer parentId;
    /**
    * 等级 0-国家；1-省份；2-地级市；3-县区
    * isnull 0
    */            private Integer level;
    /**
    * 名称
    * isnull 0
    */            private String name;
    /**
    * 简称
    * isnull 0
    */            private String shortName;
    /**
    * 地区编码
    * isnull 0
    */            private String cityCode;
    /**
    * 邮政编码
    * isnull 0
    */            private String zipCode;
    /**
    * 纬度
    * isnull 0
    */            private String gcj02Lng;
    /**
    * 经度
    * isnull 0
    */            private String gcj02Lat;
    /**
    * 纬度
    * isnull 0
    */            private String db09Lng;
    /**
    * 经度
    * isnull 0
    */            private String db09Lat;
                private String remark1;
                private String remark2;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
        
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
        
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
        
    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }
        
    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }
        
    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }
        
    public String getGcj02Lng() {
        return gcj02Lng;
    }

    public void setGcj02Lng(String gcj02Lng) {
        this.gcj02Lng = gcj02Lng;
    }
        
    public String getGcj02Lat() {
        return gcj02Lat;
    }

    public void setGcj02Lat(String gcj02Lat) {
        this.gcj02Lat = gcj02Lat;
    }
        
    public String getDb09Lng() {
        return db09Lng;
    }

    public void setDb09Lng(String db09Lng) {
        this.db09Lng = db09Lng;
    }
        
    public String getDb09Lat() {
        return db09Lat;
    }

    public void setDb09Lat(String db09Lat) {
        this.db09Lat = db09Lat;
    }
        
    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }
        
    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"parentId\":" + parentId +
                            " ,\"level\":" + level +
                            " ,\"name\":" + name +
                            " ,\"shortName\":" + shortName +
                            " ,\"cityCode\":" + cityCode +
                            " ,\"zipCode\":" + zipCode +
                            " ,\"gcj02Lng\":" + gcj02Lng +
                            " ,\"gcj02Lat\":" + gcj02Lat +
                            " ,\"db09Lng\":" + db09Lng +
                            " ,\"db09Lat\":" + db09Lat +
                            " ,\"remark1\":" + remark1 +
                            " ,\"remark2\":" + remark2 +
                  '}';
    }


}
